package com.study.async.demo;

import org.slf4j.Logger;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;

/**
 * @author wuxj
 */
@SpringBootApplication
@ComponentScan(basePackages = "com.study.async.demo.**")
@EnableAsync
public class AsyncApplication {

    private static final Logger logger = org.slf4j.LoggerFactory.getLogger(AsyncApplication.class);

    public static void main(String[] args) {
        SpringApplication.run(AsyncApplication.class, args);
    }

}
